#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QCloseEvent>
#include <QEnterEvent>


namespace Ui {
class MainWindow;
}
class myWidget;
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
private:
    Ui::MainWindow *ui;
};

class myWidget: public QWidget
{
public:
    myWidget(QWidget* parent = nullptr);

protected:
    void mouseMoveEvent(QMouseEvent*);
    void enterEvent(QEnterEvent*);
    void leaveEvent(QEvent*);
};

#endif // MAINWINDOW_H
